home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 019a / amac40.zip / TIM003.QM < prev    next >
Text File  |  1991-08-03  |  2KB  |  45 lines

  1. *                               TIM003.QM
  2. *                        Written By Tom Hogshead
  3. *                       [ See TIMERxx.QM For Use ]
  4. *                            August 2, 1991
  5. *  Key    Subfile
  6. * =====  =========  =====================================================
  7. * @(q)            --Times Macro Command Sequences For ONE Repeat Only,
  8. *                   Simple, Quick And Foolproof!
  9. *     {e:\up\TIMER14}--Return To TIMERxx.QM
  10. *
  11. *-- eoi
  12.  
  13. * 
  14. * ----------------------------------------------------------------------
  15. * @(q)  Times Macro Command Sequences For ONE Repeat Only,
  16. *       Simple and Quick!
  17. * ----------------------------------------------------------------------
  18.  
  19. * This macro is useful for timing ANY macro. Either insert the macro to
  20. * be timed, as shown below, or add the first four lines of @q to the
  21. * beginning of your macro and the last two lines to the end.  The
  22. * timing record is recorded at the top of the file in which the macro
  23. * was executed, as follows:
  24.  
  25. * xx Thu  07-18-1991  00:27:55 00:27:55
  26.  
  27. * @q differs in use from @2 in that blocks may be marked before
  28. * execution and cursor position need not be returned to starting line
  29. * to properly record time. @q is a simpler version that does not have
  30. * these limitations and is almost "foolproof".  If inserted commands
  31. * are a block, insert gotoblockbeg immediately before { } to begin at
  32. * start of block.
  33.  
  34. @q      MacroBegin
  35.         BegFile InsertLine              * Position to record start time
  36.         "*"  CursorRight                *
  37.         "xx" CursorRight                * Change "xx" to "<key>"
  38.         InsertDate InsertTime           * Record date and start time
  39. *     { Insert macro commands to time here }
  40.         BegFile EndLine                 * Position to record end time
  41.         CursorRight InsertTime          * Record end time
  42. *
  43. * 20 bytes Thu  07-18-1991  00:05:51 (TH @1)
  44.  
  45.